<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>MYMSGRO</title>
	<link rel="stylesheet" type="text/css" href="css/style.css" />
</h:head>
<h:body styleClass="body">
<!-- HEADER -->
	<h:panelGroup styleClass="titleDiv" layout="block">

		<h:panelGroup id="div0">
			<h:graphicImage  library="img" name="msg.jpg" />
		</h:panelGroup>


	</h:panelGroup>
	<!-- END OF HEADER -->
	<h:messages/>
		<h:form id="formChangePassword" styleClass="form">
			<h:messages />
			<h1>Change Password</h1>
			<h:outputText value="#{changePasswordBean.errorMsg}" style="color:maroon;"/>
			<h:panelGrid columns="2" styleClass="changePass">
			
				<h:outputText value="New Password"/>
				<p:password id="changePWNewPassword" value="#{changePasswordBean.newPassword}" feedback="true" />
				
				
				<h:outputText value="Confirm Password"/>
				<p:password value="#{changePasswordBean.confirmPassword}" id="changePWConfirmPassword"/>
	
				<h:outputText value=""/>
							
				<h:commandButton value="Change" id="changeBtn"
				action="#{changePasswordBean.changePassword}"  styleClass="submit2"/>
				
			</h:panelGrid>
		</h:form>
</h:body>


</html>